package net.suncapper.wcss.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.suncapper.wcss.model.domain.WhitelistSetting;
import com.baomidou.mybatisplus.extension.service.IService;
import net.suncapper.wcss.model.dto.PageDTO;
import net.suncapper.wcss.model.dto.WhitelistSettingDTO;
import net.suncapper.wcss.model.vo.WhitelistSettingVO;

import java.util.List;

/**
 * <p>
 * 学校用户白名单设置 服务类
 * </p>
 *
 * @author ztr
 * @since 2025-10-30
 */
public interface IWhitelistSettingService extends IService<WhitelistSetting> {


    WhitelistSetting login(WhitelistSetting user);

    Page<WhitelistSettingVO> pageList(WhitelistSettingDTO dto, PageDTO pageDTO);


    List<WhitelistSettingVO> getBykey(String key);

    Integer insert(WhitelistSettingVO key);

    List<WhitelistSetting> saveUser(WhitelistSettingVO wvo);
}
